package cn.kzgg.ymcc.constants;

public enum ErrorCode {

    ERROR_EXCEPTION("10001","系统异常咯,我们正在殴打程序员，请稍等~~^_^~~");
    private String message;
    private String code;

    ErrorCode(String code,String message){
        this.code=code;
        this.message=message;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
